package id.mankel.commons.crypto.digest;

import id.mankel.commons.constants.Constants;

/**
 * @author Mankel
 * @see <a href="https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#messagedigest-algorithms">MessageDigest Algorithms</a>
 */
@SuppressWarnings(Constants.ALL)
public enum DigestAlgorithm {

    MD5         ("MD5"),
    SHA_256     ("SHA-256"),
    SHA_512     ("SHA-512"),
    SHA3_256    ("SHA3-256"),
    SHA3_512    ("SHA3-512"),

    ;

    public final String algorithm;

    DigestAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }
}
